package interfaces.menu;

import org.fenggui.decorator.background.PlainBackground;

import interfaces.superWidgets.StaticContent;

public abstract class MenuContent extends StaticContent {
	
	protected AbsMenu menu;
	
	public MenuContent(AbsMenu menu) {
		super(menu.getMenuContentSize());
		this.menu = menu;
		
		setPosition(menu.getMenuContentPosition());
		
		getAppearance().add(new PlainBackground(Menu.CONTENT_BG_COLOR));
		
		layout();
	}
}